setOpusDtx

public void setOpusDtx(boolean dtxEnable)

Sets DTX value which will enable or disable Discontinuous Transmission feature of Opus codec. When using continuous transmission, Variable Bitrate(VBR) will reduce the bitrate when the characteristics of the input signal permit, but it will never interrupt the transmission to the receiver. Therefore, the received signal will maintain the same high level of audio quality over the full duration of a transmission while minimizing the average bitrate over time. In cases where the bitrate of Opus needs to be reduced even further or in cases where only constant bitrate is available, the Opus encoder can use Discontinuous Transmission (DTX), where parts of the encoded signal that correspond to periods of silence in the input speech or audio signal are not transmitted to the receiver. A receiver can distinguish between DTX and packet loss by looking for gaps in the sequence number. On default DTX is disabled and enabling DTX will cause less bandwidth usage (For further information check RFC-7587).

If application set dtxEnable parameter as 'true' DTX will be enable, if application set it as 'false' DTX will be disable.

MobileSDK default DTX is enabled

Since

4.2.4

Parameters

dtxEnable

dtx value as a boolean